package com.boot.security.service.database;

import com.boot.persistence.service.association.IAssociationService;
import com.boot.security.mapper.AccessMapper;
import com.boot.security.mapper.AccessResourceMapper;
import com.boot.security.mapper.ResourceMapper;
import com.boot.security.model.po.Access;
import com.boot.security.model.po.AccessResource;
import com.boot.security.model.po.Resource;

import java.util.Set;

/**
 * @author 霜寒 <1621856595@qq.com>
 * @description 权限-资源业务接口
 * @date 2020/2/18 17:40
 **/

public interface AccessResourceService extends IAssociationService<Long, Long, Long, AccessResource, Access, Resource,
        AccessResourceMapper, AccessMapper, ResourceMapper> {

    Set<Access> searchResourceAccess(Long id);

    Set<String> searchPathAuthority(String path);

}
